package com.xique.park.api;

import com.alibaba.fastjson.JSONObject;
import com.github.lianjiatech.retrofit.spring.boot.annotation.RetrofitClient;
import retrofit2.http.GET;
import retrofit2.http.QueryMap;

import java.util.Map;

/**
 * @author: caogq
 * @Date: 2021/7/31 10:20
 * @Description:
 */
@RetrofitClient(baseUrl = "${wx.gzh.authUrl}")
public interface IWxGzhApi {
    /**
     * 获取公众号token
     * @param map
     * @return
     */
    @GET("sns/oauth2/access_token")
    JSONObject getAccessToken(@QueryMap Map<String, Object> map);
}
